//
//  Card.h
//  Test
//
//  Created by Pedram Ardeshirzadeh on 22-07-12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#ifndef Test_Card_h
#define Test_Card_h

#include <iostream>
#include <sstream>
using namespace std;

enum cardFace {down, up};

class Card {
protected:
    string name;
    string number;
    string description;
    cardFace face;
    
public:
    Card(string, string, string);
    
    void setName(string);
    string getName();
    
    void setNumber(string);
    string getNumber();
    
    void setDescription(string);
    string getDescription();
    
    void setFace(cardFace);
    cardFace getFace();
    
    bool operator ==(const Card&);
    bool operator !=(const Card&);
    
    //virtual string toString() = 0;
    
    virtual ~Card();
};

#endif
